const { Router } = require("express")
const md5 = require("md5")
const JWT = require("jsonwebtoken")
const router = new Router()

/* 
检查用户是否登录了
url: /api/auth/check_login
method: GET
header: authorization
*/

router.get("/check_login", async (req, res) => {
  res.status(200).json({ message: "登录成功", data: [1,23]});
});




























module.exports = router